package com.aaa.translation.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (TransRec)实体类
 *
 * @author teacherChen
 * @since 2025-10-31 10:18:14
 */
public class TransRec implements Serializable {
    private static final long serialVersionUID = 722812805551157725L;
    /**
     * 编号
     */
    private Integer id;
    /**
     * 原文
     */
    private String fromText;
    /**
     * 语言
     */
    private String lang;
    /**
     * 翻译结果
     */
    private String toText;
    /**
     * 翻译时间
     */
    private Date transDate;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFromText() {
        return fromText;
    }

    public void setFromText(String fromText) {
        this.fromText = fromText;
    }

    public String getLang() {
        return lang;
    }

    public void setLang(String lang) {
        this.lang = lang;
    }

    public String getToText() {
        return toText;
    }

    public void setToText(String toText) {
        this.toText = toText;
    }

    public Date getTransDate() {
        return transDate;
    }

    public void setTransDate(Date transDate) {
        this.transDate = transDate;
    }

}

